﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Direct.Security;
using System.Collections.ObjectModel;

namespace Direct.Shell
{
    public interface IShellDesktopService
    {
        IShellMenuItem AddItem(String id, String group, String caption, ShellLinkBehavior behavior, int order, String hint, String url, String authKeyPath);
        void Remove(IShellMenuItem item);
        ReadOnlyCollection<IShellMenuItem> MenuItems { get; }
        IShellMenuItem AddToolLink(String id, String caption, ShellLinkBehavior behavior, int order, String hint, String url, String authKey);
        ReadOnlyCollection<IShellMenuItem> ToolLinks { get; }
        IEnumerable<IShellMenuItem> GetItemsForUser(ShellMenuItemType itemType, IUser user);
    }
}
